package com.education.platform.management.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
* describe: 后台充豆子
* @author : tomato
* @date: 2020-06-29 10:28:08.627
**/
@ApiModel()
@Getter
@Setter
@ToString
public class ChargeBeansVO {

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    @NotNull(message = "用户id不能为空")
	private Integer userId;
    @ApiModelProperty("豆子数")
    @NotNull(message = "豆子数不能为空")
    @Min(value = 1,message ="最少一个豆子" )
    private Integer beans;

}
